Skip to main content

All Questions

0votes
1answer
63views

How can I run a Program, and have it continue when the remote console disconnects

I want to run my Java Program, but it needs to continue running even if i close Putty. The Program is running on my Raspberry pi and it is starting completely fine, but as soon as I close the console ...
Pantastix's user avatar
1vote
1answer
91views

Cant run java Programm on startup (Raspbian)

I have 2 Java programs (.jar) on my raspberry pi and they should be executed on startup. I accomplished this by writing a sh script, that executes the both programs (started from console both are ...
Pantastix's user avatar
0votes
2answers
4kviews

Write to linux serial port from bash script

Hi I am using a raspberry pi and trying to write to a usb serial port in a bash script. I found echo would be the right way to do it. Also I want to test if the port is busy or not when writing. So I ...
Ramin's user avatar
1vote
1answer
597views

rc.local - script message suppression

I am working on a Raspberry Pi project; it includes NUT server configuration and making the OS Image read-only. I have completed the required steps and configured the NUT server. I uninstalled the ...
Kunal Sonone's user avatar
2votes
1answer
1kviews

wpa_action script: How to run wpa_cli in daemon mode?

I was trying to build a script that runs when wifi is connected or disconnected. After a lot of searches, I got wpa_cli -a command to work with my script. test.sh case "$1" in wlan0) ...
mcv's user avatar
  • 73
-1votes
2answers
564views

How can a run a compiled java or c program from a shell file from outside its directory?

So, in a directory /home/pi/remoteinfo/temp/code is have a C program called a.out and a shell file called tempstart.sh. Inside the tempstart.sh file is the following: #!/bin/bash ./a.out Now, when ...
Adam G's user avatar
0votes
1answer
277views

Script too slow ? Any particular reason?

I have a script which does hexdump along with pipeline commands and finally I am redirecting it to a file. Now I am logging data from the serial port of my Raspberry Pi. I also call a python script(...
RajuBhai's user avatar
2votes
1answer
195views

Datalogger with PI

I am building a datalogger with raspberry pi. I have used a Shell script in rc.local, I am capturing the Bytes using tcpdump. The Problem am facing is that the log file is getting replaced each and ...
qwerty's user avatar
2votes
1answer
653views

Can I apply `tmux` to a bash script?

Is it possible for me to use tmux to SSH into a Raspberry Pi, run a Bash script, and then leave the session (from my laptop), while the Raspberry Pi continues to run the script?
evamvid's user avatar

close